import numpy as np

class DataAugmenter:
    def pitch_shift(self, y, sr, n_steps=2):
        """音高变换"""
        return librosa.effects.pitch_shift(y, sr=sr, n_steps=n_steps)